package com.itcast.java.member.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 会员等级实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:27:34
 */
@Data
@TableName("ums_member_level")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UmsMemberLevelEntity对象", description = "会员等级")
public class UmsMemberLevelEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "等级名称")
    @TableField("name")
        private String name;

        @ApiModelProperty(value = "等级需要的成长值")
    @TableField("growth_point")
        private Integer growthPoint;

        @ApiModelProperty(value = "是否为默认等级[0->不是；1->是]")
    @TableField("default_status")
        private Integer defaultStatus;

        @ApiModelProperty(value = "免运费标准")
    @TableField("free_freight_point")
        private BigDecimal freeFreightPoint;

        @ApiModelProperty(value = "每次评价获取的成长值")
    @TableField("comment_growth_point")
        private Integer commentGrowthPoint;

        @ApiModelProperty(value = "是否有免邮特权")
    @TableField("priviledge_free_freight")
        private Integer priviledgeFreeFreight;

        @ApiModelProperty(value = "是否有会员价格特权")
    @TableField("priviledge_member_price")
        private Integer priviledgeMemberPrice;

        @ApiModelProperty(value = "是否有生日特权")
    @TableField("priviledge_birthday")
        private Integer priviledgeBirthday;

        @ApiModelProperty(value = "备注")
    @TableField("note")
        private String note;

        }